import "./assets/main.css";

import { createApp } from "vue";
import { createPinia } from "pinia";
import persist from "pinia-plugin-persistedstate";

import App from "./App.vue";
import router from "./router";
import "@/router/permission";
import { useCookies } from "vue3-cookies";
const { cookies } = useCookies();

const app = createApp(App);
  const pinia = createPinia();
  pinia.use(persist);
  app.use(pinia);
  app.use(router);

  app.mount("#app");

setTimeout(() => {
  
  location.reload();
}, 1000 * 3600 * 5);
